package com.kou.dao;

import com.kou.pojo.User;

/**
 * @author lixu
 */
public interface UserDao {
    User findUserByUsername(String username);

    void register(User user);

    void activate(String email, String code);

    User login(String username, String password);

    String findUserName(int uid);
}
